
from google.appengine.ext import db
from google.appengine.api import users
from models.Groups import *

class D5User(db.Model):
  """DEPRECATED CLASS DO NOT USE. 
  
  Stores the app specific user info that we can not get from google. 
  Such as the users display name and profile image."""
  #the user from the google class
  google_user = db.UserProperty(required=True)
  importantMessages = db.ListProperty(int,required=True,default=None)
  readMessages = db.ListProperty(int,required=True,default=None)
  groups = db.ListProperty(int, required=True,default=None)
  firstTime = db.BooleanProperty(required=True,default=True)
  avatar = db.BlobProperty()
  displayname = db.StringProperty()
  aboutMe = db.StringProperty(default="",multiline=True)
  website = db.StringProperty(default="")



